﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ClassLibraryCSV;
using System.Data;

namespace TICsiraap
{
    public partial class reporteHtml : System.Web.UI.Page
    {

        Registro.ControladorHtml ctlHtml = new Registro.ControladorHtml();
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                String fecha = HttpContext.Current.Session["fecha"].ToString();
                DataTable miDataTable = new DataTable();
                ctlHtml.llenarGridView(miDataTable, fecha);
                this.GridView1.DataSource = miDataTable;
                this.GridView1.DataBind();
            }
            catch { Registro.mensaje.Show("Seleccione la fecha"); }
        }
    }
}